package com.ninth.element.generated.number.property;

import com.ninth.element.generated.number.NumberStarterConstants;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author LiYUJi
 **/
@ConfigurationProperties(prefix = NumberStarterConstants.NUMBER_MYSQL_PREFIX)
public class MysqlWithNumberProperty {

    /**
     * 是否启用RedisID，默认false，非必填
     */
    private boolean enable = Boolean.FALSE;
    /**
     * 应用名称 - 没有时获取spring的应用名称
     */
    private String appName;

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }
}
